package cn.lg.soar.system.account.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author luguoxiang
 * @date 2021/9/12
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@ApiModel("修改个人密码")
@Getter
@Setter
public class UpdatePasswordDTO {

    @NotBlank(message = "请输入旧密码")
    @ApiModelProperty("旧密码")
    private String oldPassword;

    @NotBlank(message = "请输入新密码")
    @ApiModelProperty("新密码")
    private String newPassword;

}
